Method and system for determining the existence of broadcast and multicast frames buffered in an access point

ABSTRACT

A method and a system for determining the existence of broadcast/multicast frames buffered in an access point (AP) are used to avoid wakening a station (STA) unnecessarily. The method includes: when receiving broadcast/multicast frames sent from a service network and/or multicast group, an AP sets a broadcast/multicast indication bit that associates the service network and/or multicast group to the valid state and sends frames that carry the broadcast/multicast indication bit to a STA; the STA determines whether there are broadcast/multicast frames buffered in the AP according to the associated service network and/or multicast group and the received broadcast/multicast indication bit. Embodiments of the present disclosure also disclose an AP and a STA. The AP can identify whether there are broadcast/multicast frames buffered in an AP.

This application is a continuation of International Application No. PCT/CN2008/070091, filed on Jan. 11, 2008, titled “Method and System for Determining whether Access Point Exists in Broadcast/Multicast Buffered Frame” which claims the priority of Chinese Patent application No. 200710007853.8 filed on Jan. 12, 2007, titled “Method and System for Determining the Existence of Broadcast and Multicast Frames Buffered in an Access Point”, the entire contents of all of which are incorporated herein by reference.

FIELD OF THE INVENTION

The present disclosure relates to communication technologies, and in particular, to a method and system for determining the existence of broadcast and multicast frames buffered in an access point (AP).

BACKGROUND OF THE INVENTION

The Wireless LAN (WLAN) technology is very popular in the market due to its wireless advantages, and high-speed access and low price comparable to wired access. The WLAN technology has been replacing the wired technologies, and is now applied in scenarios such as home, campus, hotel, and enterprise office. It is widely deployed in public hot spots as a wireless broadband access technology to provide public wireless broadband data access services. The following describes a WLAN system in detail by taking the WLAN system defined in IEEE 802.11 as an example.

FIG. 1 shows the basic structure of a WLAN system. The system includes: (i) stations (STAs), further including WLAN interfaces; (ii) access points (APs), equivalent to base stations in a mobile network and configured to establish communications between STAs or between STAs and relevant equipment in a wired network and between STAs and relevant equipment in a wired LAN. For example, multiple STAs access an AP to form a WLAN. An AP and a STA associated with an AP are called a basic service set (BSS). The AP may be configured with (see the AP and STA in BSS 2 shown in FIG. 1) or separated from the STA (see BSS1 shown in FIG. 1); and (iii) a distribution system (DS), configured to establish communications between different BSSs and between a BSS and a wired LAN. A logic point that forwards MAC service data units (MSDUs) between a DS and a wired LAN is called a portal.

The WLAN system is also called an extended service set (ESS).

In the WLAN system, a STA may work in a power saving (PS) mode, that is, the STA receives Beacon frames and processes the received control information only, but does not send any message to the AP. Generally speaking, when no packet is sent, the STA may enter the PS mode (snooze status) and notify the AP to record the association ID (AID) and MAC address of the STA; when packets are sent to the STA in the PS mode, the AP may not send packets to the STA directly, but buffer the packets and notify the STA to take the packets through the Beacon frame. The STA in the PS mode intercepts the Beacon frame periodically. After detecting that a packet is buffered in the AP, the STA wakes up and sends a short Power Supply Poll (PS-Poll) frame to the AP; the AP sends the buffered data immediately or after responding to the PS-Poll frame. If all the STAs in the BSS work in the PS mode, the AP may buffer all the broadcast frames and multicast frames and send them to the STAs during the transmission of delivery traffic indication message (DTIM) frames.

A Beacon frame includes a traffic indication message (TIM) information domain, which is configured to indicate whether a STA in the PS mode has frames buffered in an AP. As shown in FIG. 2, the TIM information domain includes an Element ID, a Length, a DTIM Count, a DTIM Period, a Bitmap Control, and a Partial Virtual Bitmap. Each of the Element ID, Length, DTIM Count, DTIM Period, and Bitmap Control occupies one byte. The Partial Virtual Bitmap is in variable length ranging from 1 to 251 bytes. The following describes components of the TIM information domain:

Length is configured to indicate the length of the TIM information domain unit.

DTIM Count, configured to indicate the number of Beacon frames to be transmitted before the next DTIM. If the DTIM Count is 0, the current TIM is a DTIM.

DTIM Period is configured to identify the number of Beacon frames between two successive DTIMs. If all the TIMs are DTIMs, the value of DTIM Period is 1. If the value of DTIM Period is 1, the DTIM Period is reserved.

The DTIM Count and DTIM Period are configured to notify the STA of the time when the broadcast/multicast frames buffered in an AP are sent and of the frequency of sending the broadcast and multicast frames.

Bitmap Control is configured to indicate whether broadcast/multicast frames are buffered in an AP by using the least significant bit. When one or more broadcast/multicast frames or multiple target frames are buffered in the AP, the least significant bit of the Bitmap Control domain is set to 1; when the DTIM Count domain is set to 0, the broadcast/multicast frames are sent. The remaining seven bits of the Bitmap Control domain are used as bit mapping offset values.

Partial Virtual Bitmap is configured to indicate whether the broadcast/multicast frames buffered in an AP are sent completely. The Partial Virtual Bitmap may be 251 bytes at most. When each bit associates a STA, the Partial Virtual Bitmap may associate 2008 STAs. The zero bit of the Partial Virtual Bitmap is reserved by the AP. When any of the other bits of the Partial Virtual Bitmap is set to 1, the STA associating the bit has unicast data buffered in the AP.

As shown in FIG. 2, in the TIM information domain of the Beacon frame, only the least significant bit of the Bitmap Control domain indicates whether there are broadcast/multicast frames. Thus, the Bitmap Control domain cannot indicate which multicast group the broadcast/multicast frames come from. Besides, the Bitmap Control domain cannot indicate which service network the broadcast/multicast frames come from. Thus, when the AP is shared, all the STAs associated with the AP are wakened to receive the broadcast/multicast frames, no matter whether the broadcast/multicast frames belong to the STA. The STA is connected to a service network through an associated service set ID (SSID). The service network includes an external network and/or a local network, where the external network may be a subscribed service provider network or another external network. For the convenience of description, the SSID mentioned below refers to the corresponding service network.

When a virtual AP scheme is adopted to share the AP, that is, a physical AP is simulated into multiple virtual APs, and each virtual AP associates different basic SSIDs (BSSIDs) and has independent MAC management frames. STAs with different SSIDs may be associated with different virtual APs of a same physical AP.

In the virtual AP scheme, a BSSID associates an SSID correspondingly, and sending a Beacon frame to a virtual AP may wake up the STA associated with the virtual AP. This, however, may increase the load of radio channels. Besides, when the SSID has multiple multicast sources, this method cannot specify the multicast source, that is, all the STAs that are associated with the SSID have to be wakened to receive multicast frames.

When multiple SSIDs are adopted to share the AP, different services or user groups may select different SSIDs. In this case, the AP must be configured with multiple SSIDs, each of which associates a user group or a service. Though the AP may differentiate a user group or a service according to the SSID, the AP cannot enable the STA that is associated with the SSID to determine whether there are broadcast/multicast frames buffered in the AP.

SUMMARY OF THE INVENTION

An embodiment of the present disclosure provides a method and system for determining the existence of broadcast/multicast frames buffered in an access point (AP) so that a station (STA) can determine whether the buffered broadcast/multicast frames in the AP belong to the STA, thus avoid unnecessary wakening.

A method for determining the existence of broadcast/multicast frames buffered in an AP in an embodiment of the present disclosure includes: by the AP, when receiving broadcast/multicast frames from a service network and/or a multicast group, setting the broadcast/multicast indication bit that associates the service network and/or multicast group to the valid state and sending the frames that carry the broadcast/multicast indication bit to a STA; and determining, by the STA, whether there are broadcast/multicast frames buffered in the AP according to the associated service network and/or multicast group and the received broadcast/multicast indication bit.

A system for determining the existence of broadcast/multicast frames buffered in an AP in an embodiment of the present disclosure includes: a STA, configured to receive frames that carry the broadcast/multicast indication bit from an AP and determine whether there are broadcast/multicast frames buffered in the AP according to a associated service network and/or a multicast group and the received broadcast/multicast indication bit; and an AP, when receiving broadcast/multicast frames from the service network and/or multicast group, configured to set the broadcast/multicast indication bit that associates the service network and/or multicast group to the valid state and send the frames that carry the broadcast/multicast indication bit to a STA.

A STA provided in an embodiment of the present disclosure includes: a receiving unit, configured to receive frames that carry the broadcast/multicast indication bit from an AP; and a determining unit, configured to determine whether there are broadcast/multicast frames buffered in an AP according to the associated service network and/or multicast group and the received broadcast/multicast indication bit.

An AP provided in an embodiment of the present disclosure includes: a receiving unit, configured to receive broadcast/multicast frames from a service network and/or a multicast group and activate the setting unit; a setting unit, configured to set the broadcast/multicast indication bit that associates a service network and/or a multicast group to the valid state; and a sending unit, configured to send frames that carry the broadcast/multicast indication bit set by the setting unit to the STA.

A system for receiving broadcast/multicast frames buffered in an AP in an embodiment of the present disclosure includes: a STA, configured to receive frames that carry the broadcast/multicast indication bit from an AP, wake up according to the associated service network and/or multicast group, received broadcast/multicast indication bit and DTIM time, and receive broadcast/multicast frames buffered in the AP; and an AP, when receiving broadcast/multicast frames from a service network and/or a multicast group, configured to set the broadcast/multicast indication bit that associates the service network and/or multicast group to the valid state, set a DTIM time that associates the service network and/or multicast group according to the received broadcast/multicast frames, and send the frames that carry the broadcast/multicast indication bit to the STA.

According to embodiments of the present disclosure, each SSID and/or multicast group is allocated with an index value, and the index value associates the broadcast/multicast indication bit of the Partial Virtual Bitmap in the Beacon frame. In this way, the STA may know whether there are broadcast/multicast frames in the AP according to the index value and the broadcast/multicast indication bit of the Beacon frame, thus avoiding unnecessarily wakening the STA.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a WLAN system defined in the IEEE 802.11;

FIG. 2 shows the structure of the TIM information domain of the Beacon frame;

FIG. 3 shows the process of determining that there are broadcast/multicast frames buffered in an AP according to an embodiment of the present disclosure;

FIG. 4 shows the process of obtaining the index value of an SSID according to an embodiment of the present disclosure;

FIG. 5 shows the process of obtaining the index value of the multicast according to an embodiment of the present disclosure; and

FIG. 6 shows a system for determining the existence of broadcast/multicast frames buffered in an AP according to an embodiment of the present disclosure.

DETAILED DESCRIPTION OF THE EMBODIMENTS

For better understanding and implementation of the present disclosure, the present disclosure is hereinafter described in detail with reference to the accompanying drawing and preferred embodiments.

An embodiment of the present disclosure discloses a method for determining the existence of broadcast/multicast frames buffered in an AP. According to the embodiments of the present disclosure, the AP allocates an index value for each SSID and/or multicast group, where the index value associates the broadcast/multicast indication bit (that is, the index value is the location information of the broadcast/multicast indication bit) of the Partial Virtual Bitmap in the Beacon frame, and notifies the STA of the index value; the STA queries the broadcast/multicast indication bit in the Beacon frame according to the index value to know whether there are broadcast/multicast frames buffered in the AP. To determine when to receive the broadcast/multicast frames buffered in the AP, each SSID and/or multicast group uses the DTIM Count and DTIM Period to indicate when to send broadcast/multicast frames. The STA reads the DTIM Count and DTIM Period that associate the SSID and/or multicast and determines when to wake up to receive the buffered multicast frames.

The broadcast/multicast indication bit of Partial Virtual Bitmap in the Beacon frame may be the N bit to the N+M bit of the Partial Virtual Bitmap in the Beacon frame. The remaining bits are for allocation of unicast indication bit, which indicates whether the STA associating the bit has unicast data buffered in the AP. The N and N+M range from 1 to 2007, and M is a positive integer greater than or equal to 1. The AP may reserve values between 1 and 2007 for the allocation of broadcast/multicast indication bit according to the configuration.

The following describes the method for determining the existence of broadcast/multicast frames buffered in an AP according to an embodiment of the present disclosure with reference to FIG. 3.

Step 31: An AP allocates an index value for each SSID and/or multicast group, with the index value associating the broadcast/multicast indication bit of the Partial Virtual Bitmap in the Beacon frame, so that the STA may read the broadcast/multicast indication bit according to the index value.

Step 32: The STA obtains the index of the associated SSID and/or multicast group.

When the multiple-SSIDs technology is adopted to share the AP, the STA may obtain the index value of the SSID by using a multiple-SSIDs discovery process to query the SSID information. FIG. 4 shows the process of obtaining the index value of the SSID, which is hereinafter described.

Step 41 to Step 46: The STA queries a WLAN network and finds a subscribed service provider network (SSPN).

Step 47: The STA sends a service network query request message to the AP so that the AP queries the SSIDs supported.

The service network query request message may be a general advertising service initial request (GAS Initial Request) message.

Step 48: The AP returns a service network query response message to the STA, which includes a service network list for service network index values (SSID list).

The service network query response message may be a general advertising service initial response (GAS Initial Response) message.

Step 49 to Step 410: The STA selects an SSID for association and records the SSID index value so as to judge whether there are broadcast/multicast frames buffered in the AP by searching for the broadcast/multicast indication bit that associates the index value.

Table 1 shows the format of the SSID List information domain. The SSID List includes: an Element ID, configured to identify an information element; a Length, configured to indicate the length of the SSID List; and multiple SSIDC information elements. As shown in Table 2, each SSIDC information element includes: a robust security network information element (RSN IE), configured to indicate the security methods supported, and an Index, configured to indicate the broadcast/multicast indication bit of the Partial Virtual Bitmap in the Beacon frame.

TABLE 1 SSIDC SSIDC Element SSIDC IE #2 IE #N ID Length IE #1 (Optional) . . . (Optional) Octets: 1 2 variable variable . . . variable

TABLE 2 RSN Element IE ID Length SSID IE (Optional) Index Octets: 1 1 variable Variable 1

Besides, the AP may send the service network query response message to the STA periodically to notify the STA of the service network index value related to the STA. In this case, the STA may find the broadcast/multicast indication bit according to the service network index value and judge whether there are broadcast/multicast frames buffered in the AP according to the broadcast/multicast indication bit.

When the AP finds that the STA joins a multicast group, the AP may send the index value of the multicast group to the STA, with the index value associating the broadcast/multicast indication bit of the Partial Virtual Bitmap in the Beacon frame, so that the STA can read the correct broadcast/multicast indication bit according to the index value of the multicast group and further know whether there are broadcast/multicast frames buffered in the AP. FIG. 5 shows the process of obtaining the index value of the multicast group by the STA.

Step 51 to Step 52: After joining a multicast group, the STA sends a group joining report, which includes a multicast group ID and may be an IGMP report.

Step 53: The AP searches for the index value of the multicast group according to the multicast group ID in the group joining report. If the index value is found, the AP returns the index value; otherwise, the AP allocates an index value for the multicast group and returns the index value.

The AP may obtain the group joining report by using a snooping technology or from the STA directly.

Step 54: The AP sends a group response message carrying a multicast group index value to the STA.

The group joining response message may be a multicast index message or an extended authentication protocol over LAN key (EAPOL-Key).

Table 3 shows the format of the multicast index message.

TABLE 3 Dialog Index Category Action Token Element Octets: 1 1 1 1

Category is configured to indicate that a frame is an interworking service frame.

Action is configured to indicate that a frame is a multicast index frame (broadcast/multicast index frame).

Dialog Token is configured to indicate the dialog token.

Index Element is configured to indicate the index value that associates the multicast group. Table 4 shows the definition of the index element. As shown in Table 4, the multicast ID indicates the identifier of the multicast group, and may be the multicast MAC address. The index associates the multicast ID.

TABLE 4 Element Multicast ID Length ID Index Octets: 1 1 6 1

Step 33: The AP receives a broadcast/multicast frame from the SSID and/or multicast group, that is, the broadcast/multicast frame comes from the SSID and/or multicast group.

Step 34: The AP sets the broadcast/multicast indication bit in the Beacon frame that associates the SSID and/or multicast group to the valid state, that is, when the AP receives the broadcast/multicast frame from the SSID, the AP sets the broadcast/multicast indication bit that associates the SSID to the valid state; when the AP receives the broadcast/multicast frame from the multicast group, the AP sets the broadcast/multicast indication bit that associates the multicast group to the valid state; when the AP receives the broadcast/multicast frame from the SSID and the multicast group, the AP sets the broadcast/multicast indication bit that associates the SSID and multicast group to the valid state. The AP sets the DTIM Count and DTIM Period that associate the broadcast/multicast frame to indicate the time sequence for the arrival of the broadcast/multicast frame, and sends the Beacon frame to the STA.

When the SSID has multiple multicast groups, upon receiving the broadcast/multicast frame of a multicast group in the SSID, the AP sets the broadcast/multicast indication bit of the multicast group only to the valid state.

In the embodiments of the present disclosure, a DTIM time may be set in the Beacon frame. The DTIM time includes a DTIM Count and a DTIM Period. Elements may be added to the Beacon, as shown in Table 5. In this case, the number of SSIDs and multicast groups may be equal to the number of elements shown in Table 5 in the system.

TABLE 5 Element DTIM DTIM ID Length Index Count Period Octets: 1 1 1 1 1

Index is configured to identify which SSID or multicast group the DTIM Count and DTIM Period belong to.

DTIM Count is configured to indicate the number of Beacon frames to be transmitted before the next DTIM. If the DTIM Count is 0, the current TIM is a DTIM.

DTIM Period is configured to identify the number of Beacon frames to be transmitted between two successive DTIMs. If all the TIMs are DTIM, the value of DTIM Period is 1. If the value of DTIM Period is 1, the DTIM Period is reserved.

The DTIM Count and DTIM Period are configured to notify the STA of the time when to send the broadcast/multicast frames that associate the SSID or multicast group buffered in the AP and the frequency of sending the broadcast/multicast frames.

To save the size of the Beacon frame, a DTIMs Indication Container IE may be defined to encapsulate the DTIM Counts and DTIMP Periods of all the SSIDs or multicast groups. As shown in Table 6, the DTIMs Indication Container IE includes N DTIM Indication messages that associate the SSID or multicast group, each of which further includes an index, a DTIM Count and a DTIM Period that associate the SSID or multicast group.

TABLE 6 DTIM Element DTIM DTIM Indication ID Length Indication 1 Indication 2 . . . M Octets: 1 1 3 3 3

Step 35: The STA reads the broadcast/multicast indication bit according to the index value of the associated SSID or multicast group.

Step 36: The STA judges whether the broadcast/multicast indication bit is in the valid state. If yes, it indicates that there are broadcast/multicast frames in the AP. The STA executes Step 37; otherwise, it indicates that there are no broadcast/multicast frames in the AP. The STA executes Step 39 to end the process.

Step 37: When the broadcast/multicast indication bit is in the valid state, the STA continues reading the DTIM Count and DTIM Period that associate the broadcast/multicast indication bit to determine when to wake up to receive the broadcast/multicast frames.

Step 38: The STA wakes up according to the DTIM Count and the DTIM Period, and receives the broadcast/multicast frames buffered in the AP.

In the preceding steps, Step 32 must be executed before step 35.

As shown in FIG. 6, a system for determining whether there are broadcast/multicast frames buffered in an AP includes an AP and a STA.

The STA is configured to obtain an index value of the associated SSID and/or multicast group, with the index value associating the broadcast/multicast indication bit in the Beacon frame, receive the Beacon frame from the AP, and determine whether there are broadcast/multicast frames buffered in the AP according to the index value of the associated SSID and/or multicast group and the broadcast/multicast indication bit of the Beacon frame.

The AP is configured to, when receiving broadcast/multicast frames from the service network and/or multicast group, set the broadcast/multicast indication bit that associates the SSID and/or multicast group in the Beacon frame to the valid state and send the Beacon frame to the STA.

A STA provided in an embodiment of the present disclosure includes: a receiving unit, an obtaining unit, and a determining unit. The receiving unit is configured to receive the Beacon frame from the AP. The obtaining unit is configured to obtain the index value of the associated SSID and/or multicast group, with the index value associating the broadcast/multicast indication bit in the Beacon frame. The determining unit is configured to determine whether there are broadcast/multicast frames buffered in an AP according to the index value of associated SSID and/or multicast group and the broadcast/multicast indication bit of the Beacon.

An AP provided in an embodiment of the present disclosure includes: a receiving unit, a setting unit, and a sending unit. The receiving unit is configured to receive broadcast/multicast frames sent by the SSID and/or multicast group and start a setting unit. The setting unit is configured to set the broadcast/multicast indication bit that associates the SSID and/or multicast to the valid state. The sending unit is configured to send the Beacon frame set by the setting unit to the STA.

A system for receiving broadcast/multicast frames buffered in an AP in an embodiment of the present disclosure includes: a STA and an AP. The STA is configured to obtain an index value of the associated SSID and/or multicast group, with the index value associating the broadcast/multicast indication bit in the Beacon frame, receive the Beacon frame from the AP, wake up according to the index value of the associated SSID and/or multicast group, the broadcast/multicast indication bit in the Beacon frame and DTIM time, and receive the broadcast/multicast frames buffered in the AP. The AP, when receiving broadcast/multicast frames from the SSID and/or multicast group, is configured to set the broadcast/multicast indication bit that associates the SSID and/or multicast group to the valid state, set a DTIM time that associates the SSID and/or multicast group in the Beacon frame according to the received broadcast/multicast frames, and send the Beacon frame to the STA.

To ensure that an embodiment of the present disclosure is applicable to the case in which an AP is shared by using the virtual AP technology and multiple-SSIDs technology, the AP may set a shared indication bit to indicate whether the AP is shared by using the virtual AP method or multiple-SSIDs method. The STA may determine which method is used to read the indication about the buffered broadcast/multicast frames according to the indication bit. The indication bit may be set in the Beacon frame, for example, in the interworking capability domain of the Beacon frame. The interworking capability domain occupies two bytes, three bits (bit 0, bit 1 and bit 2) of which are used and other bits are unused. In this case, any of the other bits may be used to identify whether the AP adopts the virtual AP method or multiple-SSIDs method. The shared indication bit may be used in other messages, such as associated response message in step 410, or be set by extending a message, for example, adding an information domain to the Beacon frame. In this case, any bit in the added information domain may be used to identify whether the AP adopts the virtual AP method or multiple-SSIDs method.

It is understandable that the broadcast/multicast indication bit and/or DTIM time may be set in a frame other than the Beacon frame or by extending a new message.

Besides, when some STAs in a multicast group or a service network are in the PS state and some are in the operating state, the AP sends and buffers the broadcast/multicast frame received from the service network or multicast group. At the same time, the AP sets the broadcast/multicast indication bit that associates the service network or multicast group to the valid state and sends the frames carrying the broadcast/multicast indication bit to a STA so that the STA in the PS state can receive the buffered broadcast/multicast frame. The STA determines whether there are broadcast/multicast frames buffered in the AP according to the associated service network and/or multicast group and the received broadcast/multicast indication bit.

Although the disclosure has been described through some exemplary embodiments, the disclosure is not limited to such embodiments. It is apparent that those skilled in the art can make various modifications and variations to the disclosure without departing from the spirit and scope of the disclosure. The disclosure is intended to cover the modifications and variations provided that they fall in the scope of protection defined by the following claims or their equivalents. 

1. A method for determining the existence of broadcast frames buffered in an Access Point (AP), comprising: setting, by the AP, when receiving broadcast frames from at least one of a service network and a multicast group, a broadcast/multicast indication bit that associates the at least one of the service network and the multicast group to the valid state and sending the frames carrying the broadcast/multicast indication bit to a Station (STA); receiving, by the AP, a service network query request message to the AP; sending, by the AP, a service network query response message carrying a service network list and location information of the broadcast/multicast indication bit; selecting, by the STA, a service network from the service network list; recording, by the STA, the location information of the broadcast/multicast indication bit that associates the service network, and receiving, by the AP, a group joining report that carries a multicast group ID; and returning, by the AP, the location information that associates the broadcast/multicast indication bit to the STA according to the multicast group ID in the group joining report; wherein the broadcast/multicast indication bit is used for determining whether there are broadcast frames buffered in the AP.
 2. A method for determining the existence of broadcast frames buffered in an Access Point (AP), comprising: setting, by the AP, when receiving broadcast frames from at least one of a service network and a multicast group, a broadcast/multicast indication bit that associates the at least one of the service network and the multicast group to the valid state and sending the frames carrying the broadcast/multicast indication bit to a Station (STA); sending, by the AP, a service network query response message carrying a service network list and location information of the broadcast/multicast indication bit that associates a service network to the STA, the service network list and the broadcast/multicast indication bit being configured for by the STA, selecting an associated service network and recording the location information of the broadcast/multicast indication bit that associates the service network, and receiving, by the AP, a group joining report that carries a multicast group ID; and returning, by the AP, the location information that associates the broadcast/multicast indication bit to the STA according to the multicast group ID in the group joining report; wherein the broadcast/multicast indication bit is used for determining whether there are broadcast frames buffered in the AP.
 3. The method according to claim 1, wherein the service network query request message is a general advertising service (GAS) initial request message, and the service network query response message is a GAS initial response message.
 4. The method according to claim 1, wherein returning the location information that associates the broadcast/multicast indication bit to the STA by the AP according to the multicast group ID in the group joining report comprises: searching, by the AP, the location information of the broadcast/multicast indication bit that associates the multicast according to the multicast group ID, and if finding the location information of the broadcast/multicast indication bit, returning the location information of the broadcast/multicast indication bit that associates the multicast group; otherwise, allocating the broadcast/multicast indication bit to the multicast group, recording the location information of the broadcast/multicast indication bit, and returning the location information of the broadcast/multicast indication bit that associates the multicast group to the STA.
 5. The method according to claim 2, wherein returning the location information that associates the broadcast/multicast indication bit to the STA by the AP according to the multicast group ID in the group joining report comprises: searching, by the AP, the location information of the broadcast/multicast indication bit that associates the multicast according to the multicast group ID, and if finding the location information of the broadcast/multicast indication bit, returning the location information of the broadcast/multicast indication bit that associates the multicast group; otherwise, allocating the broadcast/multicast indication bit to the multicast group, recording the location information of the broadcast/multicast indication bit, and returning the location information of the broadcast/multicast indication bit that associates the multicast group to the STA. 